
include $(TOP_DIR)/build/common.mk

TARGET = lindplayer

INCLUDE_PATH = $(OUT_DIR)/include/

LOCAL_INCLUDE = -I$(INCLUDE_PATH)/ \
	-I$(FRAMEWORK_DIR)/base/lindzcfg/ \
	-I$(FRAMEWORK_DIR)/base/lindutils/

LOCAL_LIBRIARY = -L$(OUT_DIR)/lib/ \
	-llindplayer -lldutils -lldzcfg -pthread

SRC = $(wildcard *.c)

all:
	$(CC) $(SRC) -o $(TARGET) $(LOCAL_LIBRIARY) $(LOCAL_INCLUDE) $(EXTRA_CFLAGS) -Wl,--allow-shlib-undefined
	mv $(TARGET) $(OUT_DIR)/bin/$(TARGET)

clean:
	rm -rf $(OUT_DIR)/bin/$(TARGET)
